﻿<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>T-BLOG</title>
    <link href="~/Images/blogs/1140542.png" rel="shortcut icon">
    <meta name="keywords" content="个人博客">
    <meta name="description" content="喜欢读书，旅游，吃好吃的" />
    <link href="~/Lay/css/layui.css" rel="stylesheet" />
    <link href="~/Content/blog/blogindex.css" rel="stylesheet" />
    @RenderSection("styles", false)
</head>
<body>
    <div class="div-nav">
        <nav class="app_nav">
            <ul class="layui-nav">
                <li class="layui-nav-item layui-this"><a href="@Url.Action("Views", "Home")">理想空间</a></li>
                <li class="layui-nav-item "><a href="@Url.Action("Index", "Home")">博客</a></li>
                <li class="layui-nav-item"><a href="">IDEA</a></li>
                <li class="layui-nav-item"><a href="">旅行</a></li>
                <li class="layui-nav-item"><a href="@Url.Action("Recommend", "Home")">推荐</a></li>
            </ul>
        </nav>
    </div>
    <div class="nav-block"></div>
    <div class="">
        @RenderBody()
    </div>
    <div class="footer">
        <footer class="text-center">
            <h1>Email:ithuo.net@@gmail.com</h1>
            <label>版权所有-2017©www.ithuo.net</label>
        </footer>
    </div>
    <div class="topon blog-hide">
        <ul>
            <li><i class="layui-icon" style="font-size: 3rem">&#xe604;</i></li>
        </ul>
    </div>
</body>
</html>
<script src="~/Scripts/jquery-3.1.1.min.js"></script>
<script src="~/Lay/layui.js"></script>
<script>
    //layui.use(['element'], function () {
    //    var element = layui.element();
    //})
    $(window).scroll(function () {
        var height = $(window).scrollTop();
        if (height > 170) {
            $(".topon").removeClass("blog-hide");
        }
        else {
            $(".topon").addClass("blog-hide");
        }
    })
</script>
@RenderSection("scripts", false)

